CREATE OR REPLACE PACKAGE "kesplus_workflow"."pkg_wf_model_utils" AUTHID CURRENT_USER AS
	FUNCTION nodeExtensions(bpmn XML, nodeTaskType varchar) RETURNS jsonb;
	FUNCTION attribute(document xml, element text, attribute text, namespaces text[]) RETURNS TEXT;
	FUNCTION exist(document xml, element text, attribute text, namespaces text[]) RETURNS boolean;
	FUNCTION xpath_count(document xml, element text, namespaces text[]) RETURNS int;
	FUNCTION xpath_text(document xml, element text, namespaces text[]) RETURNS TEXT;
	FUNCTION renderString(textExpression varchar, variables jsonb) RETURNS TEXT;
END;

CREATE OR REPLACE PACKAGE BODY "kesplus_workflow"."pkg_wf_model_utils" AS WRAPPED
Uwo1Glnamjm5z9MQnjQl4oeM9HSKuKtCMbCPCAu9NF2WSYmVd4Y+pFH3IClb
zSVh2b5i5UM0z82Xy/d7BUQCrnxvWP9EN3QwjWLegCFJs5toSXrlasEU1P06
F1PjQGUO645NC2g1ryqZlWW2Eqdu2zLMvyX7XwIEGVcRXc0CslnIpbth0h62
2GRV9cyuvK47nRk/TgEioJ+vA8BwWO5G5K84peislsGH5TMnww2d8Mb0wD1C
kKB4+rAQpoFOVEh7Lz7AI/cgRlCY2bQLi7CgiE1ioWMHcGXHjad1B/APnu5M
uGAoFLh+j1hgwktfU0II3nmiByG/HkLq4V8ttKeDcopr97UQZXoFKrPPo7GX
IFIDpSRk8TAO6L1vJ3vwm0sQSw/aC0EjmUdDE0gTYxIuy3N4oNq2bQpSTqjq
L7geeMvubOCE6azpT4S5DK9uTS8AB2ttPChQnRR4YavfdPMy7BW0+4o1bp4C
ho7gC59833oTqJ8uhlEjW/8oYysuJ7wSVaI5+FOaMU9SBaLJNoCutHmCjAw9
BkaIxra/d1qpqVhxoNfNIigrjM4cRUf9VYNwvMlwOCVmUWg7IAc/E3HJyjgt
wG9zmsCuI6XZfGbtvRBKoYbH1I8W1BZ7A1ovTO+bCdxDbRN3kORthVce4vbk
f2xikUWJIvabspgvk40q3weAtCsim85PMUtBcIixO8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